Better resize of expandable columns
authorJohn Lindgren <john.lindgren@aol.com>
Thu, 20 Dec 2012 07:08:12 +0000 (02:08 -0500)
committerBenjamin Otte <otte@redhat.com>
Tue, 15 Jan 2013 13:41:30 +0000 (14:41 +0100)
commit0050d469b592ec571a5940f1ab1d842a76905e17
tree9353a999ffe13d860a637abd2fe218b0475e0fc3
parent6d53c2339f79baa0b295ecc614f41f9daab2e132
Better resize of expandable columns

Since 16195ad the “expand” property is always set to FALSE when a
column is resized.  This commit takes a different approach and enables
“expand” whenever the column is wide enough.  An appropriate
“fixed-width” (so that the desired width is achieved after expanding) is
calculated using equations that are explained in the code.

https://bugzilla.gnome.org/show_bug.cgi?id=691751
gtk/gtktreeview.c